import { request } from "@/utils/axios"

/**
 * 获取上级ID码图片
 */
export function getIdImage() {
    return request(
        {
            url: "/information/getIdImage",
            method: "GET",
            data: {}
        }
    );
}

/**
 * 获取机构管理列表
 */
export function findOrganizationListPage(params) {
    return request(
        {
            url: `/agent/findOrganizationListPage`,
            method: "GET",
            data: {},
            params
        }
    );
}

/**
 * 审核机构
 */
export function auditOrganization(params) {
    return request(
        {
            url: `/agent/auditOrganization`,
            method: "PUT",
            data: {},
            params
        }
    );
}